//
//  Masonry+Utils.h
//  YZStock
//
//  Created by fenchol on 15/8/31.
//  Copyright (c) 2015年 cqjr. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

#import <Masonry/Masonry.h>

@interface NSArray (Utils)

//link:次序维护, 前后相连
- (void)mas_linkInHorizon;

- (void)mas_linkInVertical;

- (void)mas_linkInHorizonWithSpace: (CGFloat)space;

- (void)mas_linkInVerticalWithSpace: (CGFloat)space;

//queue:次序对齐维护前后相连，前后对齐
- (void)mas_queueInHorizon;

- (void)mas_queueInVertical;

- (void)mas_queueInHorizonWithSpace: (CGFloat)space;

- (void)mas_queueInVerticalWithSpace: (CGFloat)space;

- (void)mas_queueInHorizonWithGroupCount: (NSInteger)gCount innerSpace: (CGFloat)innerSpace groupSpace: (CGFloat)groupSpace;

- (void)mas_queueInVerticalWithGroupCount: (NSInteger)gCount innerSpace: (CGFloat)innerSpace groupSpace: (CGFloat)groupSpace;


//top bottom equal
- (void)mas_equalHorizonAxis;

//leading trailing equal
- (void)mas_equalVerticalAxis;

- (void)ns_equalAttribute: (NSLayoutAttribute)attr;

- (void)mas_hintValueQueueWithInnerSpace: (CGFloat)innerSpace groupSpace: (CGFloat)groupSpace;

@end
